package com.ruoyi.enterprise.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 十大股东对象 com_holder_info
 *
 * @author ruoyi
 * @date 2024-03-05
 */
public class ComHolderCount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 代码
     */
    @Excel(name = "代码")
    private String stockCode;
    /**
     * 名字
     */
    @Excel(name = "名字")
    private String stockName;

    /**
     * 统计时间
     */
    @Excel(name = "统计时间")
    private String endDate;

    /**
     * 股东人数
     */
    @Excel(name = "股东人数0")
    private Long holderTotalNum;


    /**
     * 股东人数
     */
    @Excel(name = "股东人数1")
    private Long holderTotalNum1;

    /**
     * 股东变化率
     */
    @Excel(name = "股东变化率")
    private BigDecimal holderTotalNumRatio;

    /**
     * 人均流通股数
     */
    @Excel(name = "人均流通股数")
    private Long aveFreeSharesNum;

    /**
     * 人均流通股变化率
     */
    @Excel(name = "人均流通股变化率")
    private BigDecimal aveFreeSharesRatio;

    /**
     * 筹码集中度
     */
    @Excel(name = "筹码集中度")
    private String holdFocus;

    /**
     * 股价(元)
     */
    @Excel(name = "股价(元)")
    private BigDecimal price;

    /**
     * 人均持股金额(元)
     */
    @Excel(name = "人均持股金额(元)")
    private BigDecimal aveHoldAmt;

    /**
     * 十大股东持股合计(%)
     */
    @Excel(name = "十大股东持股合计(%)")
    private BigDecimal holdRatioTotal;

    /**
     * 十大流通股东持股合计(%)
     */
    @Excel(name = "十大流通股东持股合计(%) ")
    private BigDecimal freeholdRatioTotal;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public Long getHolderTotalNum() {
        return holderTotalNum;
    }

    public void setHolderTotalNum(Long holderTotalNum) {
        this.holderTotalNum = holderTotalNum;
    }

    public Long getHolderTotalNum1() {
        return holderTotalNum1;
    }

    public void setHolderTotalNum1(Long holderTotalNum1) {
        this.holderTotalNum1 = holderTotalNum1;
    }

    public void setHolderTotalNumRatio(BigDecimal holderTotalNumRatio) {
        this.holderTotalNumRatio = holderTotalNumRatio;
    }

    public BigDecimal getHolderTotalNumRatio() {
        return holderTotalNumRatio;
    }

    public void setAveFreeSharesNum(Long aveFreeSharesNum) {
        this.aveFreeSharesNum = aveFreeSharesNum;
    }

    public Long getAveFreeSharesNum() {
        return aveFreeSharesNum;
    }

    public void setAveFreeSharesRatio(BigDecimal aveFreeSharesRatio) {
        this.aveFreeSharesRatio = aveFreeSharesRatio;
    }

    public BigDecimal getAveFreeSharesRatio() {
        return aveFreeSharesRatio;
    }

    public void setHoldFocus(String holdFocus) {
        this.holdFocus = holdFocus;
    }

    public String getHoldFocus() {
        return holdFocus;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setAveHoldAmt(BigDecimal aveHoldAmt) {
        this.aveHoldAmt = aveHoldAmt;
    }

    public BigDecimal getAveHoldAmt() {
        return aveHoldAmt;
    }

    public void setHoldRatioTotal(BigDecimal holdRatioTotal) {
        this.holdRatioTotal = holdRatioTotal;
    }

    public BigDecimal getHoldRatioTotal() {
        return holdRatioTotal;
    }

    public void setFreeholdRatioTotal(BigDecimal freeholdRatioTotal) {
        this.freeholdRatioTotal = freeholdRatioTotal;
    }

    public BigDecimal getFreeholdRatioTotal() {
        return freeholdRatioTotal;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("stockCode", getStockCode())
                .append("stockName", getStockName())
                .append("endDate", getEndDate())
                .append("holderTotalNum0", getHolderTotalNum())
                .append("holderTotalNum1", getHolderTotalNum1())
                .append("holderTotalNumRatio", getHolderTotalNumRatio())
                .append("aveFreeSharesNum", getAveFreeSharesNum())
                .append("aveFreeSharesRatio", getAveFreeSharesRatio())
                .append("holdFocus", getHoldFocus())
                .append("price", getPrice())
                .append("aveHoldAmt", getAveHoldAmt())
                .append("holdRatioTotal", getHoldRatioTotal())
                .append("freeholdRatioTotal", getFreeholdRatioTotal())
                .toString();
    }
}
